home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / tex / tex29 / sttexmac.zoo / macros / gnuindex.sty < prev    next >
LaTeX Document  |  1988-10-16  |  1.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert DirectMusic Style (music/directMusicStyle) ext Unsupported
1% dexvert Microsoft Word Style Sheet (other/microsoftWordStyleSheet) ext Unsupported
1% dexvert Grand Theft Auto 2 Style data (other/grandTheftAuto2StyleData) ext Unsupported
1% dexvert KORG File (other/korgFile) ext Unsupported
1% dexvert MAGIX music studio Style (other/magixMusicStudioStyle) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX auxiliary file default
99% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 3c 54 45 58 2e 4c | 41 54 45 58 3e 47 4e 55 |% <TEX.L|ATEX>GNU|
|00000010| 49 4e 44 45 58 2e 53 54 | 59 2e 32 2c 20 31 38 2d |INDEX.ST|Y.2, 18-|
|00000020| 4f 63 74 2d 38 36 20 31 | 35 3a 34 34 3a 31 37 2c |Oct-86 1|5:44:17,|
|00000030| 20 45 64 69 74 20 62 79 | 20 42 45 45 42 45 0a 25 | Edit by| BEEBE.%|
|00000040| 20 49 6e 64 65 78 69 6e | 67 20 6d 61 63 72 6f 73 | Indexin|g macros|
|00000050| 20 66 6f 72 20 4c 61 54 | 65 58 20 61 6e 64 20 54 | for LaT|eX and T|
|00000060| 65 58 49 44 58 0a 25 20 | 55 73 61 67 65 3a 0a 25 |eXIDX.% |Usage:.%|
|00000070| 09 5c 49 4e 44 45 58 7b | 73 6f 72 74 6b 65 79 7d |.\INDEX{|sortkey}|
|00000080| 7b 70 72 69 6d 61 72 79 | 65 6e 74 72 79 7d 0a 25 |{primary|entry}.%|
|00000090| 09 5c 53 55 42 49 4e 44 | 45 58 7b 73 6f 72 74 6b |.\SUBIND|EX{sortk|
|000000a0| 65 79 7d 7b 70 72 69 6d | 61 72 79 65 6e 74 72 79 |ey}{prim|aryentry|
|000000b0| 7d 7b 73 65 63 6f 6e 64 | 61 72 79 65 6e 74 72 79 |}{second|aryentry|
|000000c0| 7d 0a 25 0a 25 20 46 6f | 72 20 5c 53 55 42 49 4e |}.%.% Fo|r \SUBIN|
|000000d0| 44 45 58 2c 20 74 68 65 | 20 7b 73 65 63 6f 6e 64 |DEX, the| {second|
|000000e0| 61 72 79 7d 20 66 69 65 | 6c 64 20 69 73 20 61 75 |ary} fie|ld is au|
|000000f0| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 20 61 70 70 65 |tomatica|lly appe|
|00000100| 6e 64 65 64 0a 25 20 74 | 6f 20 74 68 65 20 73 6f |nded.% t|o the so|
|00000110| 72 74 20 6b 65 79 2c 20 | 62 75 74 20 73 65 70 61 |rt key, |but sepa|
|00000120| 72 61 74 65 64 20 66 72 | 6f 6d 20 69 74 20 62 79 |rated fr|om it by|
|00000130| 20 61 6e 20 41 53 43 49 | 49 20 3c 54 41 42 3e 0a | an ASCI|I <TAB>.|
|00000140| 25 20 63 68 61 72 61 63 | 74 65 72 2c 20 73 6f 20 |% charac|ter, so |
|00000150| 74 68 61 74 0a 25 20 5c | 53 55 42 49 4e 44 45 58 |that.% \|SUBINDEX|
|00000160| 7b 66 6f 6f 7d 7b 66 6f | 6f 7d 7b 62 61 72 7d 0a |{foo}{fo|o}{bar}.|
|00000170| 25 20 73 6f 72 74 73 20 | 62 65 66 6f 72 65 0a 25 |% sorts |before.%|
|00000180| 20 5c 53 55 42 49 4e 44 | 45 58 7b 66 6f 6f 7d 7b | \SUBIND|EX{foo}{|
|00000190| 66 6f 6f 7d 7b 62 61 7a | 7d 0a 25 20 61 6e 64 0a |foo}{baz|}.% and.|
|000001a0| 25 20 5c 49 4e 44 45 58 | 7b 66 6f 6f 20 62 61 72 |% \INDEX|{foo bar|
|000001b0| 7d 7b 66 6f 6f 20 62 61 | 72 7d 7b 62 61 72 7d 0a |}{foo ba|r}{bar}.|
|000001c0| 25 0a 25 20 54 68 65 20 | 6b 65 79 73 20 77 69 6c |%.% The |keys wil|
|000001d0| 6c 20 62 65 20 22 66 6f | 6f 3c 54 41 42 3e 7b 62 |l be "fo|o<TAB>{b|
|000001e0| 61 72 7d 22 2c 20 22 66 | 6f 6f 3c 54 41 42 3e 7b |ar}", "f|oo<TAB>{|
|000001f0| 62 61 7a 7d 22 2c 20 61 | 6e 64 20 22 66 6f 6f 0a |baz}", a|nd "foo.|
|00000200| 25 20 62 61 72 22 2c 20 | 72 65 73 70 65 63 74 69 |% bar", |respecti|
|00000210| 76 65 6c 79 2e 0a 25 0a | 20 20 20 20 5c 64 65 66 |vely..%.| \def|
|00000220| 5c 69 6e 69 74 69 61 6c | 23 31 7b 5c 62 69 67 62 |\initial|#1{\bigb|
|00000230| 72 65 61 6b 7b 5c 72 61 | 67 67 65 64 72 69 67 68 |reak{\ra|ggedrigh|
|00000240| 74 5c 6c 61 72 67 65 5c | 62 66 20 23 31 7d 5c 6b |t\large\|bf #1}\k|
|00000250| 65 72 6e 20 32 70 74 5c | 70 65 6e 61 6c 74 79 33 |ern 2pt\|penalty3|
|00000260| 30 30 30 7d 0a 20 20 20 | 20 5c 64 65 66 5c 65 6e |000}. | \def\en|
|00000270| 74 72 79 23 31 23 32 7b | 5c 69 74 65 6d 20 7b 23 |try#1#2{|\item {#|
|00000280| 31 7d 2c 20 23 32 7d 0a | 20 20 20 20 5c 64 65 66 |1}, #2}.| \def|
|00000290| 5c 70 72 69 6d 61 72 79 | 23 31 7b 5c 69 74 65 6d |\primary|#1{\item|
|000002a0| 20 7b 23 31 7d 7d 0a 20 | 20 20 20 5c 64 65 66 5c | {#1}}. | \def\|
|000002b0| 73 65 63 6f 6e 64 61 72 | 79 23 31 23 32 7b 5c 73 |secondar|y#1#2{\s|
|000002c0| 75 62 69 74 65 6d 20 7b | 23 31 7d 2c 23 32 7d 0a |ubitem {|#1},#2}.|
|000002d0| 0a 20 20 5c 64 65 66 5c | 49 4e 44 45 58 7b 5c 40 |. \def\|INDEX{\@|
|000002e0| 62 73 70 68 61 63 6b 5c | 62 65 67 69 6e 67 72 6f |bsphack\|begingro|
|000002f0| 75 70 5c 40 73 61 6e 69 | 74 69 7a 65 5c 40 57 52 |up\@sani|tize\@WR|
|00000300| 49 4e 44 45 58 5c 40 69 | 6e 64 65 78 66 69 6c 65 |INDEX\@i|ndexfile|
|00000310| 7d 0a 20 20 5c 64 65 66 | 5c 40 57 52 49 4e 44 45 |}. \def|\@WRINDE|
|00000320| 58 23 31 23 32 23 33 7b | 5c 6c 65 74 5c 74 68 65 |X#1#2#3{|\let\the|
|00000330| 70 61 67 65 5c 72 65 6c | 61 78 0a 20 20 20 20 20 |page\rel|ax. |
|00000340| 5c 78 64 65 66 5c 40 67 | 74 65 6d 70 61 7b 5c 77 |\xdef\@g|tempa{\w|
|00000350| 72 69 74 65 23 31 7b 5c | 73 74 72 69 6e 67 0a 20 |rite#1{\|string. |
|00000360| 20 20 20 20 20 5c 65 6e | 74 72 79 7b 23 32 7d 7b | \en|try{#2}{|
|00000370| 5c 74 68 65 70 61 67 65 | 7d 7b 23 33 7d 7d 7d 5c |\thepage|}{#3}}}\|
|00000380| 65 6e 64 67 72 6f 75 70 | 5c 40 67 74 65 6d 70 61 |endgroup|\@gtempa|
|00000390| 0a 20 20 20 20 20 5c 69 | 66 40 6e 6f 62 72 65 61 |. \i|f@nobrea|
|000003a0| 6b 20 5c 69 66 76 6d 6f | 64 65 5c 6e 6f 62 72 65 |k \ifvmo|de\nobre|
|000003b0| 61 6b 5c 66 69 5c 66 69 | 5c 40 65 73 70 68 61 63 |ak\fi\fi|\@esphac|
|000003c0| 6b 7d 0a 25 0a 20 20 5c | 64 65 66 5c 53 55 42 49 |k}.%. \|def\SUBI|
|000003d0| 4e 44 45 58 7b 5c 40 62 | 73 70 68 61 63 6b 5c 62 |NDEX{\@b|sphack\b|
|000003e0| 65 67 69 6e 67 72 6f 75 | 70 5c 40 73 61 6e 69 74 |egingrou|p\@sanit|
|000003f0| 69 7a 65 5c 40 57 52 53 | 55 42 49 4e 44 45 58 5c |ize\@WRS|UBINDEX\|
|00000400| 40 69 6e 64 65 78 66 69 | 6c 65 7d 0a 25 0a 20 20 |@indexfi|le}.%. |
|00000410| 5c 64 65 66 5c 40 57 52 | 53 55 42 49 4e 44 45 58 |\def\@WR|SUBINDEX|
|00000420| 23 31 23 32 23 33 23 34 | 7b 5c 6c 65 74 5c 74 68 |#1#2#3#4|{\let\th|
|00000430| 65 70 61 67 65 5c 72 65 | 6c 61 78 0a 20 20 20 20 |epage\re|lax. |
|00000440| 20 5c 78 64 65 66 5c 40 | 67 74 65 6d 70 61 7b 5c | \xdef\@|gtempa{\|
|00000450| 77 72 69 74 65 23 31 7b | 5c 73 74 72 69 6e 67 0a |write#1{|\string.|
|00000460| 25 20 4e 42 3a 20 23 33 | 3c 74 61 62 3e 23 34 2c |% NB: #3|<tab>#4,|
|00000470| 20 4e 4f 54 20 23 33 3c | 73 70 61 63 65 3e 23 34 | NOT #3<|space>#4|
|00000480| 20 69 6e 20 74 68 65 20 | 6e 65 78 74 20 6c 69 6e | in the |next lin|
|00000490| 65 0a 20 20 20 20 20 20 | 5c 65 6e 74 72 79 7b 23 |e. |\entry{#|
|000004a0| 33 09 23 34 7d 7b 5c 74 | 68 65 70 61 67 65 7d 7b |3.#4}{\t|hepage}{|
|000004b0| 23 33 7d 7b 23 34 7d 7d | 7d 5c 65 6e 64 67 72 6f |#3}{#4}}|}\endgro|
|000004c0| 75 70 5c 40 67 74 65 6d | 70 61 0a 20 20 20 20 20 |up\@gtem|pa. |
|000004d0| 5c 69 66 40 6e 6f 62 72 | 65 61 6b 20 5c 69 66 76 |\if@nobr|eak \ifv|
|000004e0| 6d 6f 64 65 5c 6e 6f 62 | 72 65 61 6b 5c 66 69 5c |mode\nob|reak\fi\|
|000004f0| 66 69 5c 40 65 73 70 68 | 61 63 6b 7d 0a |fi\@esph|ack}. |
+--------+-------------------------+-------------------------+--------+--------+